{% extends "base.html" %}
{% block content %}
{% if user.is_authenticated %}
<h1>hello {{ user.username }}!</h1>
<a href="/accounts/logout/">Logout</a>
{% else %}
<h1>hello world!</h1>
<a href="/accounts/register/">Register Here</a>
<a href="/accounts/login/">Login</a>
{% endif %}
{% endblock %}